home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!cae1-5.agt.gmeds.com
- From: "David S. Pesetsky 230-6088 AGT/8880" <iedsp@agt.gmeds.com>
- Newsgroups: comp.lang.c
- Subject: How can I have 2 instances of a program write appending to a file?
- Date: Wed, 31 Jan 96 12:07:45 EST
- Message-ID: <9601311707.AA04679@cae1-5.agt.gmeds.com>
- X-NNTP-Posting-Host: cae1-5.agt.gmeds.com
- X-Mail2News-Path: dms1.agt.gmeds.com!cae1-5.agt.gmeds.com
-
- Platform: IBM RISC6000 AIX3.2.5 X11R5
-
- I need to make a c-program that can append strings to one file without
- interfering with other instances of that program which are running. In other
- words, I need it to check if the file is open, if it is, wait until it's available, then
- write to it. I don't want to mess with process id's. Can I do it?
-
- Please e-mail your response to me 'cause I can't receive USENET. Thanks.
-
- Dave
-